package com.goodwill.androidtest.annotation;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

import com.goodwill.androidtest.R;

/**
 * @author guoxiaojun
 * @date 2022/1/6 15:36
 * @desc 自定义注解实现测试界面
 */
public class AnnotationTestActivity extends AppCompatActivity {

    @ViewById(R.id.tv_test)
    public TextView tv_test;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_annotation_test);
        ViewInject.inject(this);

        tv_test.setText("注解测试成功");
    }
}
